<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>MyHtml.html</title>
	
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="this is my page">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    
    <!--<link rel="stylesheet" type="text/css" href="./styles.css">-->
        <link rel="stylesheet" type="text/css" href="css/960.css">
	<link rel="stylesheet" type="text/css" href="css/reset.css">
	<link rel="stylesheet" type="text/css" href="css/text.css">
	<link rel="stylesheet" type="text/css" href="css/listNews.css">
	<script type="text/javascript" src="js/jquery.min.js"></script>
	<script type="text/javascript" src="js/jquery.quickpaginate.js"></script>
	<script type="text/javascript" src="js/jquery.quickpaginate.packed.js"></script>

  </head>
  
  <body>
    <div class="container_12 menu">
    <ul>
    <li><a href="linkIndexAction.do">发布新闻页</a></li>
	<li><a href="linkListAction.do?xinwen">新闻</a></li>
    <li><a href="linkListAction.do?tongzhi">通知公告</a></li>
    <li><a href="linkListAction.do?dangzheng">党政工作</a></li>
    <li><a href="linkListAction.do?xuesheng">学生工作</a></li>
    <li><a href="linkListAction.do?zhaosheng">招生信息</a></li>
    <li><a href="linkListAction.do?jiaoxue">教学工作</a></li>
    <li><a href="linkListAction.do?hezuo">合作交流</a></li>
    <li><a href="linkListAction.do?shixi">实习就业</a></li>
    <li><a href="linkListAction.do?wendang">文档下载</a></li>
        <li><a href="toModifyPassword.do">修改密码</a></li>
    <li><a href="logoutAction.do">退出登录</a></li>
    </ul>
    </div>
    <div class="container_12 ">
    <div class="listnews">
    <ul id="shopping_list">
    </ul>

    </div>
           <div id="shopping_list_counter"></div>

</div>
   <script type="text/javascript">
	$("#shopping_list li").quickpaginate({ perpage:2, pager : $("#shopping_list_counter") });
</script>
  <script type="text/javascript"> 
    var str=this.location.href;
	var myArray = new Array();
	myArray =str.split("?");
	$.ajax({
   		url: "showNewsAction.do?c_id="+myArray[1],
   		type:'get',
   		dataType:'json',
   		type:'jsonp',
   		async: true,
   		success: function(msg){
   			for(var i=0;i<msg.toString().length;i++){
	     		$("#shopping_list").append("<li><div class='del'><a href=delNewsAction.do?id="+msg.news[i][0]+">删除</a></div>"
	     			+"<a href="+"newscon.html?id="
	     			+msg.news[i][0]
	     			+"><span class='dates'>"
	     			+msg.news[i][2]
	     			+"</span><div class='ellipsis'>"
	     			+msg.news[i][1]
	     			+"</div></a></li>"
	     			
	     			);
	     	}	
		}
	});

</script>



</body>
</html>

